# -*-coding:utf-8 -*-
# File  : openWithdrawal_api.py
# Time  ：2021/11/24 11:14
# Author：author name


from api.manage.manage_base import ManageBase


class OpenWithdrawalApi(ManageBase):
    def __init__(self, operator_id, status):
        super().__init__()
        self.url = self.host + f"cloudlottery-manage/operator/openWithdrawal?operatorid={operator_id}&isOpenWithdrawal={status}"
        self.method = "put"
